<%-- 
    Document   : dep
    Created on : 17 nov. 2014, 09:56:35
    Author     : sio
--%>
<%@taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
<%@page contentType="text/html" pageEncoding="UTF-8"%>
<!DOCTYPE html>
<html>
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
        <title>JSP Page</title>
    </head>
    <body>
        <h1>liste des départements</h1>

        Choisir le département:
        <form action = "Control?choix=dep" method="post">
            <select name="choixdep">
                <c:forEach var="dep" items="${lesDeps}">
                <option value="${dep.num}">${dep.num}</option>
                </c:forEach>
            </select>
                <input type="submit">
        </form>

    </body>
</html>
